package com.tcd.Policy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 被保人信息表
 * </p>
 *
 * @author cz
 * @since 2021-05-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="RecognizeeInfo对象", description="被保人信息表")
public class RecognizeeInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "被保人编号")
      @TableId(value = "recognizee_Id", type = IdType.ASSIGN_ID)
    private Integer recognizeeId;

    @TableField("policyholders_Id")
    private Integer policyholdersId;

    @ApiModelProperty(value = "被保人姓名")
    @TableField("recognizee_Name")
    private String recognizeeName;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "证件类型(1.身份证 2.军官证 3.)")
    @TableField("credentials_Type")
    private Integer credentialsType;

    @ApiModelProperty(value = "证件号码")
    @TableField("credentials_Id")
    private String credentialsId;

    @ApiModelProperty(value = "联系电话")
    private String telephone;

    @ApiModelProperty(value = "联系地址")
    private String address;

    @ApiModelProperty(value = "银行名称")
    private String bank;

    @ApiModelProperty(value = "银行账户")
    @TableField("bank_Account")
    private String bankAccount;

    @ApiModelProperty(value = "驾驶证号码")
    @TableField("driver_Id")
    private String driverId;

      @TableField(fill = FieldFill.INSERT)
    private Date createTime;

      @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "0:未投保，1:已投保")
    @TableField("InsuranceStatus")
    private Integer insurancestatus;


}
